package com.huike.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 业务表
 *
 */
@Data
@ApiModel("线索实体类")
@TableName("tb_clue")
public class BusinessOpportunity extends MyBaseEntity {
    @ApiModelProperty("主键ID")
    private Integer id;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("性别(男/女)")
    private String sex;

    @ApiModelProperty("年龄")
    private String age;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("微信")
    private String weixin;

    @ApiModelProperty("QQ")
    private String qq;

    @ApiModelProperty("归属人")
    private String owner;

    @ApiModelProperty("归属时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ownerTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("下次跟进时间")
    private LocalDateTime nextTime;

    @ApiModelProperty("状态(1待跟进/0跟进中/4伪线索/3伪商机)")
    private String status;

    @ApiModelProperty("渠道来源(1推荐介绍/0线上活动)")
    private String channel;

    @ApiModelProperty("地区")
    private String region;

    @ApiModelProperty("学科")
    private String subject;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("类型(1线索/2商机/3客户)")
    private String type;

    @ApiModelProperty("活动ID")
    private String activityId;

    @ApiModelProperty("分配人")
    private String assignBy;

    private Integer falseCount;

    @ApiModelProperty("客户ID")
    private Long clientId;
}
